package com.baizhi.service;

import com.baizhi.entity.Category;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CategoryService {
    int addCateogry(Category c);

    int updateCategory(Category c);

    List<Category> selectAllCategory();

    List<Category> selectCategoryByCondition(Integer pageNum, Integer pageSize);

    int totalCategory();

    Category selectById(Integer id);
}
